/**
 * 
 */
package com.roc.pojo;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author RenPengFei
 * 2013-5-25 下午10:01:35
 */
@Entity
@Table(name="t_syslog")
public class SysLog extends BaseBean implements Serializable {
	
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="log_seq")
	@SequenceGenerator(name="log_seq",sequenceName="log_seq")
	private long id;
	            
	@Basic                   
	private String oper_code;//OPER_CODE VARCHAR2(3) Y                        
	@Basic
	private String oper_name;//OPER_NAME VARCHAR2(30) Y                        
	@Basic
	private String log_context;//LOG_CONTEXT VARCHAR2(2000) Y 
	
	@Transient
	private String date;
	@Transient
	private String operators_name;
	@Transient
	private String org_name;
	
	
	public void SysLog(){}
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the oper_code
	 */
	public String getOper_code() {
		return oper_code;
	}
	/**
	 * @param oper_code the oper_code to set
	 */
	public void setOper_code(String oper_code) {
		this.oper_code = oper_code;
	}
	/**
	 * @return the oper_name
	 */
	public String getOper_name() {
		return oper_name;
	}
	/**
	 * @param oper_name the oper_name to set
	 */
	public void setOper_name(String oper_name) {
		this.oper_name = oper_name;
	}
	/**
	 * @return the log_context
	 */
	public String getLog_context() {
		return log_context;
	}
	/**
	 * @param log_context the log_context to set
	 */
	public void setLog_context(String log_context) {
		this.log_context = log_context;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}
	public String getOperators_name() {
		return operators_name;
	}
	public void setOperators_name(String operators_name) {
		this.operators_name = operators_name;
	}
	public String getOrg_name() {
		return org_name;
	}
	public void setOrg_name(String org_name) {
		this.org_name = org_name;
	}
	
}

